import request from '@/utils/request'

//列表
export function dsp_adv_creative_list(params) {
    return request({
        url: '/v1/dsp_adv_creative/list',
        method: 'get',
        params
    })
}
//详情
export function dsp_adv_creative_info() {
    return request({
        url: '/v1/dsp_adv_creative/info',
        method: 'get'
    })
}
//添加
export function dsp_adv_creative_add(data) {
    return request({
        url: '/v1/dsp_adv_creative/add',
        method: 'post',
        data
    })
}
//修改
export function dsp_adv_creative_edit(data) {
    return request({
        url: '/v1/dsp_adv_creative/edit',
        method: 'post',
        data
    })
}
export function dsp_adv_creative_sel_edit(data) {
    return request({
        url: '/v1/dsp_adv_creative/seledit',
        method: 'post',
        data
    })
}
//状态变更
export function dsp_adv_creative_upflag(params) {
    return request({
        url: '/v1/dsp_adv_creative/flag',
        method: 'get',
        params
    })
}
//删除
export function dsp_adv_creative_stats(params) {
    return request({
        url: '/v1/dsp_adv_creative/stats',
        method: 'get',
        params
    })
}
//所有media
export function dsp_adv_creative_all(params) {
    return request({
        url: '/v1/dsp_adv_creative/all',
        method: 'get',
        params
    })
}